projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e1878b
)
Add a style class to fullscreened windows
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 26 Sep 2014 22:08:46 +0000
(18:08 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 26 Sep 2014 22:08:46 +0000
(18:08 -0400)
This will let us tweak stuff that gets shown in fullscreen windows,
https://bugzilla.gnome.org/show_bug.cgi?id=654051
gtk/gtkwindow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwindow.c
b/gtk/gtkwindow.c
index e905d349b7288899aadee7490daa035744db4c01..8a5b54b65f159d0ec92a1e6ae8bdfbaa9902cd57 100644
(file)
--- a/
gtk/gtkwindow.c
+++ b/
gtk/gtkwindow.c
@@
-7149,6
+7149,11
@@
update_window_style_classes (GtkWindow *window)
gtk_style_context_add_class (context, "maximized");
else
gtk_style_context_remove_class (context, "maximized");
+
+ if (priv->fullscreen)
+ gtk_style_context_add_class (context, "fullscreen");
+ else
+ gtk_style_context_remove_class (context, "fullscreen");
}
static void